package com.koron.css2.newProjectCenter.mapper;

import com.koron.css2.newProjectCenter.bean.PjPendingBean;
import com.koron.css2.newProjectCenter.bean.query.PjPendingQueryBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PjPendingMapper {

    List<PjPendingBean> selectList(PjPendingQueryBean pjPendingQuery);

    int addPjPending(PjPendingBean pjPending);

    PjPendingBean selectByPjId(String pjId);

    PjPendingBean selectById(String id);

    int updatePendingState(@Param("id") String id, @Param("pendingState") int pendingState);
}
